﻿using System.Collections.Generic;
using Ymatou.User.Dto.Auth;
using YmtAuth.Dto;

namespace YmtAuth.AppService
{
    /// <summary>
    /// 查询、设置双重验证
    /// </summary>
    public interface IDualSecurityAppService
    {
        /// <summary>
        /// 查询双重验证
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        ResponseData<bool> GetDualSecurityResult(GetDualSecurityResultRequestDto dto);

        /// <summary>
        /// 设置双重验证
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        ResponseData<bool> SetDualSecurity(SetDualSecurityRequestDto dto);
    }
}
